package com.mindbook.vip.gawxchatinfo.config.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @Author wxb
 * @Datatime 2022/4/6 15:33
 * @Descript
 */
public class LoginTypeToken extends UsernamePasswordToken {

    private String code;

    private String loginType;

    public String getCode() {
        return code;
    }

    public LoginTypeToken(String code, String loginType) {
        this.code = code;
        this.loginType = loginType;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public LoginTypeToken(String loginType) {
        this.loginType = loginType;
    }

    public LoginTypeToken(String username, char[] password, String loginType) {
        super(username, password);
        this.loginType = loginType;
    }

    public LoginTypeToken(String username, String password, String loginType) {
        super(username, password);
        this.loginType = loginType;
    }

    public LoginTypeToken(String username, char[] password, String host, String loginType) {
        super(username, password, host);
        this.loginType = loginType;
    }

    public LoginTypeToken(String username, String password, String host, String loginType) {
        super(username, password, host);
        this.loginType = loginType;
    }

    public LoginTypeToken(String username, char[] password, boolean rememberMe, String loginType) {
        super(username, password, rememberMe);
        this.loginType = loginType;
    }

    public LoginTypeToken(String username, String password, boolean rememberMe, String loginType) {
        super(username, password, rememberMe);
        this.loginType = loginType;
    }

    public LoginTypeToken(String username, char[] password, boolean rememberMe, String host, String loginType) {
        super(username, password, rememberMe, host);
        this.loginType = loginType;
    }

    public LoginTypeToken(String username, String password, boolean rememberMe, String host, String loginType) {
        super(username, password, rememberMe, host);
        this.loginType = loginType;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
